mir: rework cursors a bit
authorRyan Lortie <desrt@desrt.ca>
Thu, 6 Nov 2014 20:28:51 +0000 (15:28 -0500)
committerRyan Lortie <desrt@desrt.ca>
Thu, 6 Nov 2014 21:18:53 +0000 (16:18 -0500)
commitec729d06491a2a5bb9ba3f287fbc102b5036bc8f
treeabbdc785846d8b234c02da3725710cb01876c74f
parent063f79b5946198eb5efec0133627a12a75d154a7
mir: rework cursors a bit

Store the cursor name on the cursor (rather than always using its type).

Use this when setting a cursor on a surface.

The mir server will fallback to using standard cursors from the cursor
theme if the name used is not one of those defined by mir, which is more
or less what we want to happen here in case of creating a cursor by
name.
gdk/mir/gdkmir-private.h
gdk/mir/gdkmircursor.c
gdk/mir/gdkmirdisplay.c
gdk/mir/gdkmirwindowimpl.c